<header id="topbar">
    <div class="topbar-left">
        <ol class="breadcrumb">
            <li class="crumb-active">
                <a href="#preset/banner/">信鸽推送管理</a>
            </li>
        </ol>
    </div>
    <div class="topbar-right">
        <a href="#op/xinge_notification/add/" class="btn btn-default btn-sm light fw600 ml10"><span
                class="fa fa-plus pr5"></span>新增信鸽推送</a>
        <div class="ml15 ib va-m" id="toggle_sidemenu_r">
            <a href="#" class="pl5"> <i class="fa fa-sign-in fs22 text-primary"></i>
            </a>
        </div>
    </div>
</header>

<section id="content" class="animated fadeIn">
    <div class="panel overflow">
        <table class="table table-striped fs13" id="main-list">
            <thead>
            <tr class="bg-light">
                <th>ID</th>
                <th>标题</th>
                <th>内容</th>
                <th>推送范围</th>
                <th>通知时间</th>
                <th>创建时间</th>
                <th>修改时间</th>
            </tr>
            </thead>
            <tbody class="admin-form">
            <% var moment = require('moment'); %>
            <% _.each(items, function(item){ %>
            <tr data-id="<%= item.id %>">
                <td>
                    <a href="#op/xinge_notification/<%= item.id %>/">
                        <%= item.id %>
                    </a>
                </td>
                <td><%= item.title %></td>
                <td><%= item.content %></td>
                <td><%= PUSH_DEVICE[item.push_device] %></td>
                <td><%= item.send_time %></td>
                <td><%= item.created_at %></td>
                <td><%= item.updated_at %></td>
                <% }) %>
            </tr>
            </tbody>
        </table>
    </div>
</section>